[INFO] cloning repository https://github.com/sebashdez96/biotecza_bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebashdez96/biotecza_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebashdez96%2Fbiotecza_bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebashdez96%2Fbiotecza_bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b98d4af7d4062897662fab5b191d168c588e095f
[INFO] fixing sebashdez96/biotecza_bot against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebashdez96%2Fbiotecza_bot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sebashdez96/biotecza_bot
[INFO] finished tweaking git repo https://github.com/sebashdez96/biotecza_bot
[INFO] tweaked toml for git repo https://github.com/sebashdez96/biotecza_bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sebashdez96/biotecza_bot on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sebashdez96/biotecza_bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af
[INFO] running `Command { std: "docker" "start" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking openssl v0.10.75
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking native-tls v0.2.14
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking biotecza_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let _ = sqlx::query!("UPDATE users SET first_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let _ = sqlx::query!("UPDATE users SET paternal_last_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let _ = sqlx::query!("UPDATE users SET maternal_last_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/bot_logic/users.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 sqlx::query!("UPDATE patients SET curp = $1 WHERE patient_id = $2", entrada, patient_id).execute(pool).await.ok();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/bot_logic/users.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             sqlx::query!("UPDATE patients SET gender = $1 WHERE patient_id = $2", entrada, patient_id).execute(pool).await.ok();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let resultado = sqlx::query_scalar!("SELECT fn_obtener_o_crear_estado($1)", telefono)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = sqlx::query!("SELECT fn_actualizar_estado_sesion($1, $2)", telefono, nuevo_estado)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | /     sqlx::query_as!(
[INFO] [stdout] 67 | |         User,
[INFO] [stdout] 68 | |         r#"
[INFO] [stdout] 69 | |         SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         telefono
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |       let res = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 92 | |         r#"
[INFO] [stdout] 93 | |         INSERT INTO users (first_name, email, password_hash, phone, role_id) 
[INFO] [stdout] 94 | |         VALUES (NULLIF($1, ''), $2, 'whatsapp_user', $3, 5) 
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         nombre, format!("{}@biotecza.com", telefono), telefono
[INFO] [stdout] 99 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | /     sqlx::query!(
[INFO] [stdout] 113 | |         "SELECT p.patient_id, p.user_id, u.first_name, u.paternal_last_name, u.maternal_last_name, p.curp, p.whatsapp_number, p.g...
[INFO] [stdout] 114 | |         telefono
[INFO] [stdout] 115 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |       let patient_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |         r#"
[INFO] [stdout] 147 | |         INSERT INTO patients (user_id, curp, whatsapp_number) 
[INFO] [stdout] 148 | |         VALUES ($1, $2, $3) 
[INFO] [stdout] ...   |
[INFO] [stdout] 155 | |         ctx.phone
[INFO] [stdout] 156 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 172 | |         "UPDATE users SET first_name = $1, paternal_last_name = $2, maternal_last_name = $3 WHERE user_id = $4",
[INFO] [stdout] 173 | |         first, paternal, maternal, user_id
[INFO] [stdout] 174 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 179 | |         "UPDATE users SET email = $1 WHERE user_id = $2",
[INFO] [stdout] 180 | |         email, user_id
[INFO] [stdout] 181 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 186 | |         "UPDATE users SET first_name = $1 WHERE user_id = $2",
[INFO] [stdout] 187 | |         format!("TEMP-{}", nombre), user_id
[INFO] [stdout] 188 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:192:15
[INFO] [stdout]     |
[INFO] [stdout] 192 |       let res = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 193 | |         "SELECT first_name FROM users WHERE user_id = $1",
[INFO] [stdout] 194 | |         user_id
[INFO] [stdout] 195 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 207 | |         "UPDATE patients SET curp = $1, gender = $2 WHERE patient_id = $3",
[INFO] [stdout] 208 | |         curp, genero, patient_id
[INFO] [stdout] 209 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 214 | |         "INSERT INTO patient_addresses (patient_id, address_label, full_address, is_default) 
[INFO] [stdout] 215 | |          VALUES ($1, 'WhatsApp Delivery', $2, true)
[INFO] [stdout] 216 | |          ON CONFLICT DO NOTHING",
[INFO] [stdout] 217 | |         patient_id, direccion
[INFO] [stdout] 218 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 221 | |         "UPDATE medication_orders 
[INFO] [stdout] 222 | |          SET delivery_address = $1 
[INFO] [stdout] 223 | |          FROM orders 
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |         direccion, patient_id
[INFO] [stdout] 228 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 234 | |         "UPDATE medication_orders 
[INFO] [stdout] 235 | |          SET prescription_url = $1 
[INFO] [stdout] 236 | |          FROM orders 
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         media_id, patient_id
[INFO] [stdout] 241 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/database/pharmacy.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sqlx::query!("SELECT DISTINCT category::text as cat FROM medications WHERE category IS NOT NULL")
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     sqlx::query!("SELECT brand_name FROM medications WHERE category::text = $1 AND stock = true", categoria)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     sqlx::query!(
[INFO] [stdout] 30 | |         "SELECT med_id, brand_name, active_compound, presentation, price, stock FROM medications WHERE brand_name = $1 LIMIT 1",
[INFO] [stdout] 31 | |         nombre
[INFO] [stdout] 32 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 50 | |         "INSERT INTO medication_items (order_id, med_id, quantity, unit_price) 
[INFO] [stdout] 51 | |          VALUES ($1, $2, 1, $3)",
[INFO] [stdout] 52 | |         order_id, med_id, precio
[INFO] [stdout] 53 | |     ).execute(pool).await;
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 56 | |         "UPDATE orders SET total_amount = total_amount + $1 WHERE order_id = $2",
[INFO] [stdout] 57 | |         precio, order_id
[INFO] [stdout] 58 | |     ).execute(pool).await;
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |       let orden = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 63 | |         "SELECT order_id FROM orders WHERE patient_id = $1 AND p_status = 'pendiente' LIMIT 1",
[INFO] [stdout] 64 | |         patient_id
[INFO] [stdout] 65 | |     ).fetch_optional(pool).await.unwrap_or(None);
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let new_id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 71 | |             "INSERT INTO orders (patient_id, order_type, total_amount, p_method) 
[INFO] [stdout] 72 | |              VALUES ($1, 'medication', 0.00, 'efectivo') RETURNING order_id",
[INFO] [stdout] 73 | |             patient_id
[INFO] [stdout] 74 | |         ).fetch_one(pool).await.unwrap();
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let _ = sqlx::query!("INSERT INTO medication_orders (order_id, delivery_address) VALUES ($1, 'Por definir')", new_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/database/lab.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     sqlx::query!("SELECT test_name FROM lab_tests LIMIT 10")
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actualizar_datos_usuario`
[INFO] [stdout]  --> src/database/mod.rs:9:67
[INFO] [stdout]   |
[INFO] [stdout] 9 |     obtener_patient_id_por_telefono, registrar_paciente_completo, actualizar_datos_usuario,
[INFO] [stdout]   |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let _ = sqlx::query!("UPDATE users SET first_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let _ = sqlx::query!("UPDATE users SET paternal_last_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/bot_logic/users.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let _ = sqlx::query!("UPDATE users SET maternal_last_name = $1 WHERE user_id = $2", entrada, user_id)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/bot_logic/users.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 sqlx::query!("UPDATE patients SET curp = $1 WHERE patient_id = $2", entrada, patient_id).execute(pool).await.ok();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/bot_logic/users.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             sqlx::query!("UPDATE patients SET gender = $1 WHERE patient_id = $2", entrada, patient_id).execute(pool).await.ok();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let resultado = sqlx::query_scalar!("SELECT fn_obtener_o_crear_estado($1)", telefono)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = sqlx::query!("SELECT fn_actualizar_estado_sesion($1, $2)", telefono, nuevo_estado)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | /     sqlx::query_as!(
[INFO] [stdout] 67 | |         User,
[INFO] [stdout] 68 | |         r#"
[INFO] [stdout] 69 | |         SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         telefono
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/users.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |       let res = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 92 | |         r#"
[INFO] [stdout] 93 | |         INSERT INTO users (first_name, email, password_hash, phone, role_id) 
[INFO] [stdout] 94 | |         VALUES (NULLIF($1, ''), $2, 'whatsapp_user', $3, 5) 
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         nombre, format!("{}@biotecza.com", telefono), telefono
[INFO] [stdout] 99 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | /     sqlx::query!(
[INFO] [stdout] 113 | |         "SELECT p.patient_id, p.user_id, u.first_name, u.paternal_last_name, u.maternal_last_name, p.curp, p.whatsapp_number, p.g...
[INFO] [stdout] 114 | |         telefono
[INFO] [stdout] 115 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |       let patient_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |         r#"
[INFO] [stdout] 147 | |         INSERT INTO patients (user_id, curp, whatsapp_number) 
[INFO] [stdout] 148 | |         VALUES ($1, $2, $3) 
[INFO] [stdout] ...   |
[INFO] [stdout] 155 | |         ctx.phone
[INFO] [stdout] 156 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 172 | |         "UPDATE users SET first_name = $1, paternal_last_name = $2, maternal_last_name = $3 WHERE user_id = $4",
[INFO] [stdout] 173 | |         first, paternal, maternal, user_id
[INFO] [stdout] 174 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 179 | |         "UPDATE users SET email = $1 WHERE user_id = $2",
[INFO] [stdout] 180 | |         email, user_id
[INFO] [stdout] 181 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 186 | |         "UPDATE users SET first_name = $1 WHERE user_id = $2",
[INFO] [stdout] 187 | |         format!("TEMP-{}", nombre), user_id
[INFO] [stdout] 188 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:192:15
[INFO] [stdout]     |
[INFO] [stdout] 192 |       let res = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 193 | |         "SELECT first_name FROM users WHERE user_id = $1",
[INFO] [stdout] 194 | |         user_id
[INFO] [stdout] 195 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 207 | |         "UPDATE patients SET curp = $1, gender = $2 WHERE patient_id = $3",
[INFO] [stdout] 208 | |         curp, genero, patient_id
[INFO] [stdout] 209 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 214 | |         "INSERT INTO patient_addresses (patient_id, address_label, full_address, is_default) 
[INFO] [stdout] 215 | |          VALUES ($1, 'WhatsApp Delivery', $2, true)
[INFO] [stdout] 216 | |          ON CONFLICT DO NOTHING",
[INFO] [stdout] 217 | |         patient_id, direccion
[INFO] [stdout] 218 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 221 | |         "UPDATE medication_orders 
[INFO] [stdout] 222 | |          SET delivery_address = $1 
[INFO] [stdout] 223 | |          FROM orders 
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |         direccion, patient_id
[INFO] [stdout] 228 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/database/users.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let _ = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 234 | |         "UPDATE medication_orders 
[INFO] [stdout] 235 | |          SET prescription_url = $1 
[INFO] [stdout] 236 | |          FROM orders 
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         media_id, patient_id
[INFO] [stdout] 241 | |     ).execute(pool).await;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/database/pharmacy.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sqlx::query!("SELECT DISTINCT category::text as cat FROM medications WHERE category IS NOT NULL")
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     sqlx::query!("SELECT brand_name FROM medications WHERE category::text = $1 AND stock = true", categoria)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     sqlx::query!(
[INFO] [stdout] 30 | |         "SELECT med_id, brand_name, active_compound, presentation, price, stock FROM medications WHERE brand_name = $1 LIMIT 1",
[INFO] [stdout] 31 | |         nombre
[INFO] [stdout] 32 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 50 | |         "INSERT INTO medication_items (order_id, med_id, quantity, unit_price) 
[INFO] [stdout] 51 | |          VALUES ($1, $2, 1, $3)",
[INFO] [stdout] 52 | |         order_id, med_id, precio
[INFO] [stdout] 53 | |     ).execute(pool).await;
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 56 | |         "UPDATE orders SET total_amount = total_amount + $1 WHERE order_id = $2",
[INFO] [stdout] 57 | |         precio, order_id
[INFO] [stdout] 58 | |     ).execute(pool).await;
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |       let orden = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 63 | |         "SELECT order_id FROM orders WHERE patient_id = $1 AND p_status = 'pendiente' LIMIT 1",
[INFO] [stdout] 64 | |         patient_id
[INFO] [stdout] 65 | |     ).fetch_optional(pool).await.unwrap_or(None);
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:70:22
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let new_id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 71 | |             "INSERT INTO orders (patient_id, order_type, total_amount, p_method) 
[INFO] [stdout] 72 | |              VALUES ($1, 'medication', 0.00, 'efectivo') RETURNING order_id",
[INFO] [stdout] 73 | |             patient_id
[INFO] [stdout] 74 | |         ).fetch_one(pool).await.unwrap();
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/pharmacy.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let _ = sqlx::query!("INSERT INTO medication_orders (order_id, delivery_address) VALUES ($1, 'Por definir')", new_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]  --> src/database/lab.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     sqlx::query!("SELECT test_name FROM lab_tests LIMIT 10")
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actualizar_datos_usuario`
[INFO] [stdout]  --> src/database/mod.rs:9:67
[INFO] [stdout]   |
[INFO] [stdout] 9 |     obtener_patient_id_por_telefono, registrar_paciente_completo, actualizar_datos_usuario,
[INFO] [stdout]   |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `biotecza_bot` (bin "biotecza_bot" test) due to 28 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `biotecza_bot` (bin "biotecza_bot") due to 28 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af", kill_on_drop: false }`
[INFO] [stdout] 03306c3fe0e32725a0624fd4a6b5752259b4839e1865bd6fe2ced5e01287e6af
